/* 顶部banner */
.top-banner {
  position: relative;
  width: 100%;
  height: 120px;
}
.top-banner a {
  position: absolute;
  width: 100%;
  height: 120px;
  background: url(../img/top-banner.jpg) no-repeat;
  background-size: auto 120px;
  background-position: 50%;
  margin: 0 auto;
}
/* 主页展示区home-hero */
.home-hero {
  margin-bottom: 23px;
}
/* 轮播图 */
.swiper {
  position: relative;
  height: 460px;
  background-color: pink;
  z-index: 10;
  width: 1226px;
}
.swiper-slide img {
  width: 1226px;
  height: 460px;
}
.swiper-wrapper {
  overflow: hidden;
  width: 1226px;
  height: 460px;
}
.swiper-wrapper a {
  height: 460px;
}
.swiper-wrapper ul {
  position: relative;
}
.swiper-wrapper .swiper-slide {
  width: 1226px;
  height: 460px;
  position: absolute;
  opacity: 0;
  transition: all 0.3s linear;
  z-index: 1;
}
.swiper-slide.active {
  opacity: 1;
  z-index: 10;
}
.pagination {
  position: absolute;
  right: 34px;
  bottom: 26px;
  cursor: default;
  z-index: 300;
}
.pagination-bullet.active {
  background: hsla(0, 0%, 100%, 0.4);
  border-color: rgba(0, 0, 0, 0.4);
}
.pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  border: 2px solid hsla(0, 0%, 100%, 0.3);
  margin: 0 4px;
}
.pagination-bullet:hover {
  background: hsla(0, 0%, 100%, 0.4);
  border-color: rgba(0, 0, 0, 0.4);
}
.swiper-pre,
.swiper-next {
  font-size: 30px;
  color: #fff;
  margin-top: -35px;
  width: 40px;
  height: 70px;
  z-index: 300;
}
.swiper-pre {
  position: absolute;
  left: 234px;
  top: 50%;
  background: url(../img/icon-slides.png) no-repeat -84px;
}
.swiper-next {
  position: absolute;
  right: 0;
  top: 50%;
  background: url(../img/icon-slides.png) no-repeat -124px;
}
.swiper-pre:hover {
  background-position: 0px;
}
.swiper-next:hover {
  background-position: -42px;
}
/* 轮播图下方配图区域 */
.swiper-sub {
  height: 170px;
  /* background-color: pink; */
  margin-top: 14px;
}
.swiper-sub .span4 {
  float: left;
  width: 234px;
  height: 170px;
}
.swiper-sub .span4 img {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 4px;
}
.swiper-sub .span4 ul {
  font-size: 12px;
  padding: 3px;
  background-color: #5f5750;
}
.swiper-sub .span4 ul li {
  position: relative;
  width: 76px;
  height: 82px;
  float: left;
}
.swiper-sub .span4 ul li:before {
  position: absolute;
  left: 0;
  top: 5px;
  content: "";
  width: 1px;
  height: 70px;
  background-color: #665e57;
}
.swiper-sub .span4 ul li:after {
  position: absolute;
  top: -1px;
  right: 5px;
  content: "";
  width: 64px;
  height: 1px;
  background-color: #665e57;
}
.swiper-sub .span4 a {
  color: #fff;
  opacity: 0.7;
  display: block;
  padding: 19px 13px 0;
  text-align: center;
  font-size: 12px;
}
.swiper-sub .span4 a:hover {
  opacity: 1;
}
.swiper-sub .span16 {
  float: left;
  width: 992px;
  height: 170px;
}
.swiper-sub .span16 li {
  margin-left: 14px;
  float: left;
  width: 316px;
  height: 170px;
  background-color: rgb(38, 255, 38);
  transition: all 0.3s linear;
}
.swiper-sub .span16 li:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: translate3d(0, -2px, 0);
}
.swiper-sub .span16 img {
  width: 316px;
  height: 170px;
}
/* 主页内容区 */
.page-main {
  background-color: #f5f5f5;
  padding-bottom: 26px;
}
.home-flashsale .box-hd {
  height: 62px;
  /* background-color: pink; */
}
.home-flashsale .box-hd h2 {
  font-weight: 200;
  font-size: 22px;
  line-height: 62px;
}
.home-flashsale .box-bd {
  position: relative;
  height: 340px;
  /* background-color: rgb(179, 209, 254); */
}
/* 倒计时 */
.count-down {
  float: left;
  width: 234px;
  height: 339px;
  background-color: #f1eded;
  text-align: center;
  border-top: 1px solid #ef3a3b;
}
.count-down .time {
  margin-top: 60px;
  color: #ef3a3b;
  font-size: 21px;
  margin-bottom: 30px;
}
.count-down .des {
  color: rgba(0, 0, 0, 0.54);
  font-size: 15px;
  margin-top: 35px;
  margin-bottom: 10px;
}
.count-down .end {
  color: #ff6709;
  visibility: hidden;
  margin-bottom: 5px;
}
.count-down-time span {
  float: left;
  width: 46px;
  height: 46px;
  background-color: #605751;
  line-height: 46px;
  font-size: 24px;
}
.count-down-time {
  color: #fff;
  width: 168px;
  margin: 0 auto;
}
.count-down-time i {
  float: left;
  color: #605751;
  width: 15px;
  height: 46px;
  font-size: 28px;
}
/* 闪购列表 */
.flashsaleList {
  float: left;
  width: 992px;
  height: 100%;
  /* background-color: rgb(228, 91, 255); */
}
.flashsaleList li {
  float: left;
  width: 234px;
  height: 339px;
  margin-left: 14px;
  background-color: #fafafa;
  text-align: center;
}
.flashsaleList li:nth-child(1) {
  border-top: 1px solid rgb(73, 23, 255);
}
.flashsaleList li:nth-child(2) {
  border-top: 1px solid rgb(231, 255, 13);
}
.flashsaleList li:nth-child(3) {
  border-top: 1px solid rgb(23, 255, 62);
}
.flashsaleList li:nth-child(4) {
  border-top: 1px solid rgb(255, 23, 42);
}
.flashsaleList li a {
  padding-top: 39px;
}
.content {
  width: 160px;
}
.content img {
  width: 160px;
  height: 160px;
}
.content h3 {
  font-size: 14px;
  color: #333;
  font-weight: normal;
  margin-top: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content .des {
  font-size: 12px;
  color: #b0b0b0;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content .price span {
  color: #ff6709;
}
.content .price {
  font-size: 14px;
  margin-top: 16px;
}
/* 闪购轮播按钮 */
.swiper-control .pre,
.swiper-control .next {
  position: absolute;
  width: 34px;
  height: 22px;
  line-height: 22px;
  border: 1px solid #e0e0e0;
  text-align: center;
}
.swiper-control .next {
  right: 0;
  top: -32px;
}
.swiper-control .pre {
  right: 36px;
  top: -32px;
  border-right: none;
}
.swiper-control .fir,
.swiper-control .sec {
  font-size: 24px;
  color: #e0e0e0;
  cursor: pointer;
}
.swiper-control .fir:hover {
  color: #b0b2b9;
}
.swiper-control .sec:hover {
  color: #b0b2b9;
}
/* 广告banner */
.home-banner img {
  width: 1226px;
  height: 120px;
}
.home-banner {
  margin: 22px 0;
}
/* 手机模块 */
.home-brick .box-hd {
  height: 58px;
  /* background-color: pink; */
}
.box-hd h2 {
  float: left;
  line-height: 58px;
  font-weight: 200;
}
.box-hd .more {
  float: right;
}
.box-hd .more a {
  line-height: 58px;
  height: 58px;
  font-size: 16px;
  color: #333;
}
.box-hd .more i {
  width: 12px;
  height: 12px;
  font-size: 20px;
  vertical-align: -2px;
  color: #b0b0b0;
}
.box-hd .more:hover i {
  color: #ff6709;
}
.box-hd a:hover {
  color: #ff6709;
}
.home-brick .span4 {
  float: left;
  height: 614px;
}
.home-brick .span4 li a {
  height: 614px;
}
.home-brick .span4 li {
  height: 614px;
  float: left;
  margin-bottom: 14px;
  transition: all 0.2s linear;
}
.home-brick .span4 li:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: translate3d(0, -2px, 0);
}
.home-brick .span4 img {
  width: 234px;
  height: 614px;
}
.home-brick .span16 {
  float: left;
  /* height: 614px; */
}
.home-brick .span16 ul {
  width: 992px;
}
.home-brick .span16 li {
  float: left;
  width: 234px;
  height: 300px;
  margin-left: 14px;
  background-color: #fff;
  text-align: center;
  margin-bottom: 14px;
  transition: all 0.2s linear;
}
.home-brick .span16 li:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: translate3d(0, -2px, 0);
}
.home-brick .span16 .content {
  margin-top: 20px;
}
.home-brick .content .price {
  font-size: 14px;
  margin-top: 12px;
}
/* 家电模块 */
.tab-list {
  float: right;
  margin-top: 19px;
}
.tab-list li {
  display: inline-block;
  font-size: 16px;
  margin-left: 30px;
  color: #333;
  cursor: pointer;
  padding-bottom: 3px;
}
.tab-list .active {
  color: #ff6709;
  border-bottom: 2px solid #ff6709;
}
/* .tab-list li:hover {
  color: #ff6709;
  border-bottom: 2px solid #ff6709;
} */
.home-appliance .box-bd li {
  height: 300px;
}
.home-appliance .span4 img {
  height: 300px;
}
.home-appliance .span4 ul {
  width: 234px;
  height: 614px;
}
.home-appliance .span16 .last {
  width: 204px;
  height: 143px;
  position: relative;
  text-align: left;
  padding-left: 30px;
}
.home-appliance .box-bd > div:nth-child(n + 3) {
  display: none;
}
.home-appliance .span16 .last h3 {
  margin-top: 36px;
  margin-right: 66px;
  white-space: normal;
}
.home-appliance .span16 .last img {
  width: 80px;
  height: 80px;
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -40px;
}
.last i {
  font-size: 48px;
  color: #ff6709;
  position: absolute;
  right: 35px;
  top: 50%;
  margin-top: -24px;
}
.morehot .tit {
  font-size: 18px;
  font-weight: 400;
}
.home-appliance .morehot .content {
  margin-top: 54px;
}
/* 视频区 */
.video .box-bd {
  height: 285px;
}
.video-item {
  float: left;
  text-align: center;
  width: 296px;
  background-color: #fff;
  height: 285px;
  transition: all 0.2s linear;
}
.video-item .tit {
  margin-top: 30px;
  font-size: 14px;
  color: #333;
}
.video-item .des {
  margin-top: 6px;
  font-size: 12px;
  color: #b0b0b0;
}
.video-item:nth-child(-n + 3) {
  margin-right: 14px;
}
.video-item img {
  width: 296px;
  height: 180px;
}
.video-item .figure {
  position: relative;
}
.video-item .figure:hover i {
  color: #fff;
}
.video-item .figure:hover .play {
  border: none;
  background-color: #ff6709;
  width: 36px;
  height: 24px;
  line-height: 24px;
}
.video-item i {
  color: #fff;
  font-size: 18px;
}
.video-item .play {
  position: absolute;
  left: 20px;
  bottom: 16px;
  width: 32px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 12px;
  line-height: 20px;
}
.video-item:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: translate3d(0, -2px, 0);
}
